import Vue from 'vue'
import {
  Button,
  Tabbar,
  TabbarItem,
  Icon,
  Swipe,
  SwipeItem,
  Image as VanImage,
  Grid,
  GridItem,
  Search,
  Cell,
  CellGroup,
  NavBar,
  Form,
  Field,
  Toast,
  IndexBar,
  IndexAnchor
} from 'vant'

Vue.prototype.$toast = Toast
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Icon)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(VanImage)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Search)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)

Vue.use(IndexBar)
Vue.use(IndexAnchor)
